home *** CD-ROM | disk | FTP | other *** search
- Path: cc.gatech.edu!culbreth
- From: culbreth@cc.gatech.edu (Matthew W. Culbreth)
- Newsgroups: comp.lang.c++
- Subject: Using a Base constructor for a derived class
- Date: 15 Jan 1996 11:15:05 -0500
- Organization: College of Computing, Georgia Tech
- Message-ID: <4ddui9$a14@felix.cc.gatech.edu>
- NNTP-Posting-Host: felix.cc.gatech.edu
- NNTP-Posting-User: culbreth
-
- Howdy,
-
- I have a base class with a constructor. This class is never used
- in my application. I have three classes derived from this class.
-
- When I create an instant of one of the derived class, I want to use the
- constructor from the base class. The compiler is stating that it can't find
- the constructor for the arguments passed for any of the derived classes.
- Are constructors inherited the same as member functions?
-
- Thanks a lot,
-
- Matt
-
- --
-
- -Matthew W. Culbreth (culbreth@cc.gatech.edu)
- -CS student
- -Georgia Tech, College of Computing
-